<div>a</div>
<span>b</span>
<p>c</p>
<script>
  input.write('mounted');
  $signal.onabort = () => {
    input.write('destroyed')
  };
</script>